package com.jike.mahjong.dao;



import com.jike.mahjong.model.Club;
import com.jike.mahjong.model.Manager;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by star on 2016/8/24.
 */
@Repository("personDao")
public interface PersonDao {

    public List<Manager> getManagerList();

    public List<Manager> getManagerByConditon(Map<String, Object> paraMap);

    public List<Manager> getManagerByRole(Map<String, Object> paraMap);


    public Integer changePwd(Map<String,Object> para);

    public Integer addManager(Manager model);
    
    public Integer updateAgentCoin(Map<String,Object> para);
    
    public Integer countQueryManagerList(Map<String, Object> paraMap);
    
    public Integer updateAgentCoinByManager(Map<String, Object> paraMap);

    public Integer deleteManager(Map<String,Object> para);

    
}
